
package net.lab0.fractal.event;


import java.util.EventObject;
import java.util.concurrent.ThreadPoolExecutor;


@SuppressWarnings("serial")
public class ThreadPoolExecutorWorkFinishedEvent
extends EventObject
{
    private Runnable finishedRunnable;
    
    public ThreadPoolExecutorWorkFinishedEvent(ThreadPoolExecutor source, Runnable finishedRunnable)
    {
        super(source);
        this.finishedRunnable = finishedRunnable;
    }

    public Runnable getFinishedRunnable()
    {
        return finishedRunnable;
    }
}
